package org.achievement.system.pojo.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;

import java.util.Date;

public class ScoreExcel {

    /**
     * 课程
     */
    @ColumnWidth(10)
    @ExcelProperty("课程")
    private String courseName;
    /**
     * 姓名
     */
    @ColumnWidth(10)
    @ExcelProperty("姓名")
    private String name;
    /**
     * 分数
     */
    @ColumnWidth(10)
    @ExcelProperty("分数")
    private String score;
    /**
     * 创建时间
     */
    @ColumnWidth(20)
    @ExcelProperty("创建时间")
    @DateTimeFormat("yyyy年MM月dd日")
    private Date createTime;
    /**
     * 修改时间
     */
    @ColumnWidth(20)
    @ExcelProperty("修改时间")
    @DateTimeFormat("yyyy年MM月dd日")
    private Date updateTime;

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
